
<form id="form_add">
<table>
	<tr>
		<td align="right">员工：</td>
		<td><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'员工']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td><textarea rows="2" name="name" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">类型：</td>
		<td><select name='vacation'>
			{[html_options options=$vacation_option selected=1]}
		</select></td>
	</tr>
	<tr>
		<td width="20%" align="right">开始时间：</td>
		<td width="80%"><input type="text" name="date1" id="date1" size="12" value="{[$smarty.now|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time1" id="time1" size="8" value="09:00"></td>
	</tr>
	<tr>
		<td align="right">结束时间：</td>
		<td><input type="text" name="date2" id="date2" size="12" value="{[$smarty.now|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time2" id="time2" size="8" value="18:00"></td>
	</tr>
	<tr>
		<td align="right">总共工时：</td>
		<td><input type="text" name="hh" id="hh" size="8" value=""> <select name='hh_t' id='hh_t'>
			{[html_options options=$hour_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td><textarea rows="2" name="content" cols="55"></textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/kq/vacation/add.js?r={[$smarty.now]}"></script>
